import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MarshalException } from "../../Engine/RMI/MarshalException";
type int = number;
//class EToplistType
    
    export  class EToplistType
    {
        constructor(arg1: int)
        {
            
            this.__value = arg1;
            return;
        }

        public static __read(arg1: SerializeStream): EToplistType
        {
            var loc1=arg1.readInt();
            if (loc1 < 0 || loc1 >= 100001) 
            {
                throw new MarshalException();
            }
            return EToplistType.convert(loc1);
        }

        public value(): int
        {
            return this.__value;
        }

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.__value);
            return;
        }

        public static convert(arg1: int): EToplistType
        {
            return new EToplistType(arg1);
        }

        public static /* const */_EToplistTypePlayerFight: int=102;

        public static /* const */_EToplistTypePlayerPrestige: int=103;

        public static /* const */_EToplistTypePlayerPetFight: int=104;

        public static /* const */_EToplistTypePlayerFightCareer1: int=105;

        public static /* const */_EToplistTypePlayerFightCareer2: int=106;

        public static /* const */_EToplistTypePlayerFightCareer3: int=107;

        public static /* const */_EToplistTypePlayerFightCareer4: int=108;

        public static /* const */_EToplistTypeGuildLevel: int=201;

        public static /* const */_EToplistTypeGuildBloom: int=202;

        public static /* const */_EToplistTypeGuildAsset: int=203;

        public static /* const */_EToplistTypeGuildWarCredit: int=204;

        public static /* const */_EToplistTypeGuildDefence: int=205;

        public static /* const */_EToplistTypeCreditLoopTask: int=301;

        public static /* const */_EToplistTypeCreditKillBoss: int=302;

        public static /* const */_EToplistTypeCreditTransport: int=303;

        public static /* const */_EToplistTypeCreditCopy: int=304;

        public static /* const */_EToplistTypeCreditArena: int=305;

        public static /* const */_EToplistTypeCreditBattleField: int=306;

        public static /* const */_EToplistTypeCreditServerBattle: int=307;

        public static /* const */_EToplistTypeBattleFieldWeekHonor: int=401;

        public static /* const */_EToplistTypeBattleFieldKillPlayer: int=402;

        public static /* const */_EToplistTypeBattleFieldKillMonster: int=403;

        public static /* const */_EToplistTypeBattleFieldEvenCut: int=404;

        public static /* const */_EToplistTypeFlowerWeekProtect: int=501;

        public static /* const */_EToplistTypeFlowerWeek: int=502;

        public static /* const */_EToplistTypeFlowerProtect: int=503;

        public static /* const */_EToplistTypeFlower: int=504;

        public static /* const */_EToplistTypeFlowerLastWeekProtect: int=505;

        public static /* const */_EToplistTypeFlowerLastWeek: int=506;

        public static /* const */_EToplistTypeFlowerDailyProtect: int=507;

        public static /* const */_EToplistTypeFlowerDaily: int=508;

        public static /* const */_EToplistTypeCopyMagicTower: int=601;

        public static /* const */_ETopListTypeCopyTowerSixty: int=602;

        public static /* const */_EToplistTypeAcupoint: int=701;

        public static /* const */_EToplistTypeRoot: int=702;

        public static /* const */_EToplistTypeSavvy: int=703;

        public static /* const */_EToplistTypePetTalent: int=801;

        public static /* const */_EToplistTypePetGrowth: int=802;

        public static /* const */_EToplistTypePetSpirit: int=803;

        public static /* const */_EToplistTypeGuildWarPlayerMerits: int=901;

        public static /* const */_EToplistTypeGuildWarGuildMark: int=902;

        public static /* const */_EToplistTypeGuildWarGuildMarkWeek: int=903;

        public static /* const */_EToplistTypeCopyCoinEvenCut: int=1001;

        public static /* const */_EToplistTypeCopyCoinMoney: int=1002;

        public static /* const */_EToplistTypeArenaMark: int=1003;

        public static /* const */_EToplistTypeWrestleMark: int=1004;

        public static /* const */_EToplistTypeWeaponScore: int=1010;

        public static /* const */_EToplistTypeJewelryScore: int=1011;

        public static /* const */_EToplistTypeArmorScore: int=1012;

        public static /* const */_EToplistTypeWuXingAttributeMax: int=1102;

        public static /* const */_EToplistTypeWuXingEnergy: int=1103;

        public static /* const */_EToplistTypeLoadDays: int=1201;

        public static /* const */_EToplisttypeAchievement: int=1301;

        public static /* const */_EToplistTypeAmuletLevel: int=1401;

        public static /* const */_EToplistTypeAmuletWeaponScore: int=1402;

        public static /* const */_EToplistTypeAmuletHelmetScore: int=1403;

        public static /* const */_EToplistTypeWuXingFight: int=1101;

        public static /* const */_EToplistTypeAmuletClothesScore: int=1405;

        public static /* const */_EToplistTypeAmuletPantsScore: int=1406;

        public static /* const */_EToplistTypeActiveIntegral: int=1407;

        public static /* const */_EToplistTypeCopy191: int=1501;

        public static /* const */_EToplistTypeMountEquip: int=1601;

        public static /* const */_EToplistTypeCrossBase: int=100000;

        public static /* const */_EToplistTypePlayerLevel: int=101;

        public static /* const */_EToplistTypeAmuletShoulderScore: int=1404;

        public /* var */__value: int;
    }
